package cn.gjculture.shopping.api.dao;

import cn.gjculture.shopping.api.entity.*;

import java.util.List;

public interface VipGoodsMapper {
    int deleteGoods(List<String> ids);

    int insertColors(List<GoodsColor> goodsColors);

    int insertStand(List<GoodsStand> goodsStands);

    int insertRecord(List<GoodsRecord> goodsRecords);

    int insertThumbnail(List<Commodity.Thumbnail> thumbnails);

    int deleteColors(List<String> goodsIds);

    int deleteStands(List<String> goodsIds);

    int updateGoods(Goods goods);

    int deleteThembnail(List<String> delFileIds);

    List<Goods> query(Goods goods);

    int insertGoodsMapPostageTemplate(List<GoodsMapPostageTemplate> list);
}
